Skip to content

Databricks: Support Timetravel With "TIMESTAMP AS OF"#2134

Merged
iffyio merged 13 commits intoapache:mainfrom
JamesVorder:feature/databricks-timestamp-timetravel
Jan 7, 2026
Merged

Databricks: Support Timetravel With "TIMESTAMP AS OF"#2134
iffyio merged 13 commits intoapache:mainfrom
JamesVorder:feature/databricks-timestamp-timetravel

Conversation

@JamesVorder
Copy link
Contributor

This PR adds support for Databricks' timstamp-based time travel. This is a first step toward resolvign #2006.

The following is now supported:

SELECT 1 FROM t1 TIMESTAMP AS OF '2018-10-18T22:15:12.013Z';
SELECT 1 FROM t1 TIMESTAMP AS OF CURRENT_TIMESTAMP() - INTERVAL 12 HOURS;
-- etc.

@iffyio
Copy link
Contributor

iffyio commented Dec 19, 2025

@JamesVorder could you take a look at the ci failure?

@JamesVorder JamesVorder requested a review from iffyio December 20, 2025 12:40
@JamesVorder
Copy link
Contributor Author

@iffyio Can you see if the build failure is resolved? Looks like it was just a silly mistake with a docstring.

Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @JamesVorder!

@iffyio iffyio added this pull request to the merge queue Jan 7, 2026
Merged via the queue into apache:main with commit ce74e7f Jan 7, 2026
10 checks passed
ayman-sigma pushed a commit to sigmacomputing/sqlparser-rs that referenced this pull request Feb 3, 2026
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
fmguerreiro pushed a commit to fmguerreiro/datafusion-sqlparser-rs that referenced this pull request Feb 20, 2026
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants